/**
 * 漆水河 脚手架基础公开课
 * 2022/8/13 --- 2022/12/13
 * 有疑问可加QQ群: 809126489，后续会持续输出与大家一起成长
 */
package com.qishuihe.outbound.user;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@Api("角色与权限挂载")
public class RolePermissionDTO {

    @ApiModelProperty("关联ID")
    @JsonSerialize(using= ToStringSerializer.class)
    Long id;
    @ApiModelProperty("角色ID")
    Long roleId;
    @ApiModelProperty("权限ID")
    Long permissionId;
    @ApiModelProperty("权限点")
    String url;
    @ApiModelProperty("权限描述")
    String description;
}
